/* component/calendar/calendar.wxss */


.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper {
    transition: height 0.3s;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.today {

    // width: 88rpx;
    // height: 42rpx;
    // background: #F3F4F4;
    // border-radius: 22rpx;
    // font-size: 24rpx;
    // line-height: 42rpx;
    // color: #868D8D;
    // text-align: center;
    // margin-right: 6rpx;
    .img {
        width: 80rpx;
        height: 84rpx;
    }
}

// .today:active {
//     background: #dfdfdf;
//     color: #5f6464;
// }

.direction-column {
    flex-direction: column;
}

.flex1 {
    flex: 1;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.calendar {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0rpx 12rpx 20rpx 0rpx rgba(131, 134, 163, 0.12);
    border-radius: 0rpx 0rpx 40rpx 40rpx;
}

.calendar .title {
    padding: 10rpx 16rpx 10rpx 20rpx;
    font-size: 64rpx;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 64rpx;
    color: rgba(51, 51, 51, 1);
}

.calendar .title .year-month {
    margin-right: 20rpx;
}

.calendar .title .icon {
    padding: 0 16rpx;
    font-size: 32rpx;
    color: #999;
}

.calendar .title .open {
    background-color: #f6f6f6;
    color: #999;
    font-size: 22rpx;
    line-height: 36rpx;
    border-radius: 18rpx;
    padding: 0 14rpx;
}

.list-open {
    position: relative;
    justify-content: center;
    padding: 20rpx 0;

    .icon {
        width: 64rpx;
        height: 6rpx;
        border-radius: 6rpx;
        background: #DADEF0;
    }
}

// .list-open .icon::after {
//     content: '';
//     position: absolute;
//     top: 16rpx;
//     right: 60rpx;
//     display: block;
//     width: 278rpx;
//     height: 0rpx;
//     border-bottom: 2rpx solid rgba(214, 219, 219, 0.68);
// }

// .list-open .icon::before {
//     content: '';
//     position: absolute;
//     top: 16rpx;
//     left: 60rpx;
//     display: block;
//     width: 278rpx;
//     height: 0rpx;
//     border-bottom: 2rpx solid rgba(214, 219, 219, 0.68);
// }

.fold {
    transform: rotate(0deg);
}

.unfold {
    transform: rotate(180deg);
}

.calendar .calendar-week {
    line-height: 40rpx;
    padding: 0 22rpx;
    font-size: 28rpx;
    color: #999;
}

.calendar .calendar-week .view {
    width: 100rpx;
    text-align: center;
}

.calendar .calendar-main {
    padding: 18rpx 22rpx 0rpx;
    // transition: height 0.3s;
    align-content: flex-start;
    overflow: hidden;
    border-radius: 0rpx 0rpx, 100rpx, 100rpx;
}

.calendar .calendar-main .day {
    position: relative;
    width: 100rpx;
    color: #666;
    text-align: center;
    height: 98rpx;
    padding: 8rpx 0;
    box-sizing: border-box;
}

.calendar .calendar-main .day .bg {
    height: 66rpx;
    line-height: 66rpx;
    font-size: 28rpx;
    color: #333;
}

.calendar .calendar-main .day .now {
    width: 66rpx;
    border-radius: 50%;
    text-align: center;
    color: #167FFF;
    // background: rgba(14, 192, 184, 0.2);
    //background: #F5F9FF;
    margin: 0 auto;
}

.calendar .calendar-main .day .select {
    width: 66rpx;
    border-radius: 50%;
    text-align: center;
    color: #167FFF;
    background: #F5F9FF;
    margin: 0 auto;
}

.calendar .calendar-main .day .spot::after {
    position: absolute;
    content: "";
    display: block;
    width: 8rpx;
    height: 8rpx;
    bottom: 22rpx;
    background: #0EC0B8;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
}

.calendar .calendar-main .day .deep-spot::after {
    position: absolute;
    content: "";
    display: block;
    width: 8rpx;
    height: 8rpx;
    bottom: 22rpx;
    background: #FF7416;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
}

.calendar .calendar-main .day .other-month {
    color: #ccc;
    background: transparent;
}

.header-wrap .month {
    font-size: 28rpx;
    color: #929797;
}

.dot_list {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 8rpx;
    left: 0;
    right: 0;

    .dot {
        width: 8rpx;
        height: 8rpx;
        border-radius: 100%;
        margin: 0 6rpx 0 0;
    }

    .dot:last-child {
        margin: 0;
    }

    .red {
        background: #EC2C2C;
    }

    .orange {
        background: #FF7D00;
    }

    .green {
        background: #00B42A;
    }

    .blue {
        background: #167FFF;
    }

    .grey {
        background: #999;
    }
}